package com.sinothk.gpserver.modules.biz.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class SearchUserEntity {

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "账号")
    private String account;

    @ApiModelProperty(value = "手机号码")
    private String phoneNum;

    @ApiModelProperty(value = "姓名")
    private String userName;

    @ApiModelProperty(value = "头像")
    private String userAvatar;

    @ApiModelProperty(value = "男/女")
    private String sex;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "0：正常；1：禁用")
    private Integer state;

    @ApiModelProperty(value = "逻辑删除：0未删除;1删除;")
    private Integer deleted;

    @ApiModelProperty(value = "角色信息")
    @TableField(exist = false)
    private String roles;
}
